package com.test.service;

import com.test.dao.InfoDao;
import com.test.entity.InfoDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

@Service
public class InfoService {
    @Autowired
    private InfoDao infoDao;

    public  int  insertReleaseInfo(InfoDto infoDto){
        return infoDao.insertReleaseInfo(infoDto);
    }

    public List<InfoDto> selectReleaseInfo(String u_acount){
        return infoDao.selectReleaseInfo(u_acount);
    }

}
